package com.zero.insp;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.jpa.JpaRepositoriesAutoConfiguration;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.ApplicationContext;

@SpringBootApplication
@ServletComponentScan
@EnableAutoConfiguration(exclude={  
      JpaRepositoriesAutoConfiguration.class,//禁止springboot自动加载持久化bean
      MongoAutoConfiguration.class//禁止实例化mongodb
      })  
public class ZeroInspApplication {

	private static Logger logger = LoggerFactory.getLogger(ZeroInspApplication.class);
    
	public static void main(String[] args) {
		
		ApplicationContext ctx = SpringApplication.run(ZeroInspApplication.class, args);
	}


}
